﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace csharp_books_415.Data.Models
{
    public class Review
    {
        public int ReviewId { get; set; } // PK
        public string Content { get; set; } // body copy
        public double Rating { get; set; } // star rating
        public string UserName { get; set; } // name
        public DateTime ReviewDate { get; set; } // Date of review

        public int BookId { get; set; } // FK - Book
        public virtual Book Book { get; set; }
    }
}
